package com.zzyl.nursing.domain;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import com.zzyl.common.annotation.Excel;
import com.zzyl.common.core.domain.BaseEntity;

/**
 * 老人对象 elder
 *
 * @author ruoyi
 * @date 2025-07-23
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel("老人实体")
public class Elder extends BaseEntity {
    private static final long serialVersionUID = 1L;


    @ApiModelProperty(value = "主键ID")
    private Long id;

    @Excel(name = "名称")
    @ApiModelProperty(value = "名称")
    private String name;

    @Excel(name = "图片")
    @ApiModelProperty(value = "图片")
    private String image;

    @Excel(name = "身份证号")
    @ApiModelProperty(value = "身份证号")
    private String idCardNo;


    @Excel(name = "性别", readConverterExp = "0=:女,1=:男")
    @ApiModelProperty(value = "性别")
    private Long sex;

    /**
     * 状态（0：禁用，1:启用  2:请假 3:退住中 4入住中 5已退住）
     */
    @Excel(name = "状态", readConverterExp = "0=：禁用，1:启用,2=:请假,3=:退住中,4=入住中,5=已退住")
    @ApiModelProperty(value = "状态")
    private Long status;


    @Excel(name = "手机号")
    @ApiModelProperty(value = "手机号")
    private String phone;


    @Excel(name = "出生日期")
    @ApiModelProperty(value = "出生日期")
    private String birthday;


    @Excel(name = "家庭住址")
    @ApiModelProperty(value = "家庭住址")
    private String address;


    @Excel(name = "身份证国徽面")
    @ApiModelProperty(value = "身份证国徽面")
    private String idCardNationalEmblemImg;


    @Excel(name = "身份证人像面")
    @ApiModelProperty(value = "身份证人像面")
    private String idCardPortraitImg;


    @Excel(name = "床位编号")
    @ApiModelProperty(value = "床位编号")
    private String bedNumber;


    @Excel(name = "床位id")
    @ApiModelProperty(value = "床位id")
    private Long bedId;

}
